package org.wgc.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.wgc.study.entity.Bloginfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wgc
 * @since 2025-08-06
 */
public interface BloginfoMapper extends BaseMapper<Bloginfo> {
    @Select("select blogAuthor, blogUrl, blogTitle, blogItem from bloginfo where blogAuthor < #{authorId}")
    List<Bloginfo> queryInfoById(Map<String , Integer> map);
}
